package com.fire.web.modules.all.entity;

/**
 * 封装返回数据
 * @author czh
 * @2015年5月20日
 */
public class AjaxResult {

	private String status;
	private String message;
	private String tips;
	private Object context;
	
	public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public AjaxResult(String status, String message, Object context, String tips){
		this.status = status;
		this.message = message;
		this.context = context;
		this.tips = tips;
	}
	
	public AjaxResult(String status, String message, String tips){
		this.status = status;
		this.message = message;
		this.tips = tips;
	}
	
	public AjaxResult(){
		
	}



	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getContext() {
		return context;
	}

	public void setContext(Object context) {
		this.context = context;
	}

    @Override
    public String toString() {
        return "AjaxResult [status=" + status + ", message=" + message + ", tips=" + tips + ", context=" + context
                + ", getTips()=" + getTips() + ", getStatus()=" + getStatus() + ", getMessage()=" + getMessage()
                + ", getContext()=" + getContext() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode()
                + ", toString()=" + super.toString() + "]";
    }


	
	
}
